import {ADD_TOCART,ADD_COUNTER} from "./FuncName";

export default {
    [ADD_TOCART](state,payLoad){
        payLoad.count+=1
    },
    [ADD_COUNTER](state,payLoad){
        payLoad.isChecked=true
        this.state.cartList.push(payLoad)
    }
}
